<% layout('layout/layout') %>
<% block('header').append(`<style>
.media-list .media {
    border-bottom:1px solid #e5e5e5;
}
</style>`) %>
	<!--banner-->
	<section class="banner">
	    <div><img src="/images/news_banner.jpg" alt=""></div>
	</section>
	<div class="com_zi clearfix">
		<div class="left_zi">
			<% include ../navbar/leftNav %>
			<!-- <div class="pro_lei">
				<div class="top">产品展示</div>
				<div class="pro_l_nei">
					<div class="pic">
						<img src="/images/case1.jpg" alt="" class="vcenter"/>
						<i></i>
					</div>
					<p>
						AP5.4经济型工业级条码机
					</p>
				</div>
				<div class="pro_l_nei">
					<div class="pic">
						<img src="/images/case2.jpg" alt="" class="vcenter"/>
						<i></i>
					</div>
					<p>
					VP495彩色打印机
					</p>
				</div>
				<div class="pro_l_nei">
					<div class="pic">
						<img src="/images/case3.jpg" alt="" class="vcenter"/>
						<i></i>
					</div>
					<p>
						MOTOROLA-Symbol LS-2208
					</p>
				</div>
			</div> -->
		</div>
		<div class="right_zi">
			<div class="bar clearfix">
				<span class="b_tt"><%=currInfo.nameCn %></span>
				<% include ../navbar/curbar %>
				<!-- <span class="curbar"><i>您当前的位置：</i><a href="index.html">首页</a> > <a href="news.html">新闻资讯</a> > <i>公司新闻</i></span> -->
			</div>
			<ul class="news_zi_ul clearfix">
                <% articles.forEach(function(item){%>
                    <li>
                        <a href="/article/detail/<%=item._id %>" class="clearfix">
                            <span class="left">
                                <h4><%=item.title %></h4>
                                <p><%=item.subTitle %></p>
                            </span>
                            <span class="right">
                                <time><%=item.update_at_ago() %></time>
                                <!-- <span>2016</span> -->
                                <i></i>
                            </span>
                        </a>
                    </li>
                <% })%>
			</ul>
            <div class="j_pager pageing" data-page="<%=page %>"  data-param="<%=query.catalog?'catalog='+query.catalog:'' %>"   data-count="<%=count %>"></div>
		</div>
    </div>
<% block('footer').append(`<script src="/js/jPager.js" ></script>`); %>
<% block('footer').append(`<script>
jQuery(function () {
	$('.j_pager').pager()
})
</script>`) %>